package org.noote.libs.robot.helper;

public class Helper_Robot {
	static public int servoDegreeToMicroSecond(float fDeg)
	{
		return 500+(int)((fDeg/180.0f)*2000.0f);
	}
	static public float servoMicroSecondToDegree(int iMicroSecond)
	{
		return ((iMicroSecond-500)/2000.0f)*180.0f;
	}
}
